/**
 * MemberUserMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-05-30  Created
 */
package com.lzy.cloud.member.mapper;

import com.lzy.cloud.member.dtos.MemberUserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberUserMapperExt extends MemberUserMapper {

    /**
     * 根据条件查询会员列表
     * @param memberUserDto
     * @return
     */
    List<MemberUserDto> selectList(@Param("param")MemberUserDto memberUserDto);

    /**
     * 解除deviceToken占用
     *
     * @param deviceToken
     * @return
     */
    int releaseTokenOccupancy(@Param("deviceToken") String deviceToken);
}